home *** CD-ROM | disk | FTP | other *** search
- Path: news.uit.no!news
- From: Hσvard Pedersen <havardp@mail.stud.ingok.hitos.no>
- Newsgroups: comp.sys.amiga.programmer
- Subject: Music replay, wtf?
- Date: Wed, 17 Apr 1996 22:28:11 -0700
- Organization: HIT
- Message-ID: <3175D2EB.765C@mail.stud.ingok.hitos.no>
- NNTP-Posting-Host: dig111.stud.ingok.hitos.no
- Mime-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- X-Mailer: Mozilla 2.0 (Win16; I)
-
- I've got this strange problem. I'm making a ProTracker replay that does the
- well-known DMA wait using the beampos, since it's the only correct way to do
- this. (After all, the audio IS timed to the beam)
-
- The problem is that when I play mods in a task, using busy-loops to wait for
- top of frame it plays allright, while playing the mods within a vertical
- blank interrupt, the sound is destroyed. Wrong sampleptrs, forgets notes, all
- the normal symptoms of to low dma-wait. This especially happens when other
- tasks works a lot in the background.
-
- If anyone would like to take a look at the source, it's in
- mus/edit/ptsupp.lha on AmiNet.
-
- Anyone? Please?
-
- --
- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
- "Sometimes I wish there was a knob for intelligence on my TV set. There's
- one called brightness, but it doesn't seem to work." - Brian Eno
- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
- Hσvard Pedersen E-Mail: havardp@mail.stud.ingok.hitos.no
- aka Howard/Mental Diseases IRC-Channels: #amiga and #norway
- IRC-Nick: Howard_MD or HowardMD
- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-